package com.onlyxiahui.framework.net.handler.connect.data;

/**
 * date: 2016-1-4
 * 
 * @author: XiaHui
 */
public class ConnectData {

	private String address;
	private int port;
	private long timeOut = 30000;

	public ConnectData() {
		this("127.0.0.1", 10000);
	}

	public ConnectData(String address, int port) {
		this.address = address;
		this.port = port;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public long getTimeOut() {
		return timeOut;
	}

	public void setTimeOut(long timeOut) {
		this.timeOut = timeOut;
	}
}
